import React from 'react';
import { FrameSty } from './style';

type Props = {
  text: string;
  fontSize?: string;
}

export default function Index(props: Props) {
  const { text,fontSize='5rem' } = props;
  return <FrameSty fontSize={fontSize}>
    <p>{text}</p>
  </FrameSty>
}